/**
 * Copyright (C), 2015-2020, XXX有限公司
 * FileName: PersonMapper
 * Author:   ZX
 * Date:     2020/8/12 14:23
 * Description:
 * History:
 * <author>          <time>          <version>          <desc>
 * 作者姓名           修改时间           版本号              描述
 */
package org.example;

import com.baomidou.mybatisplus.annotations.TableName;
import org.apache.ibatis.annotations.Select;
import org.example.entity.Person;

import java.util.List;

/**
 * 〈一句话功能简述〉<br> 
 * 〈〉
 *
 * @author ZX
 * @create 2020/8/12
 * @since 1.0.0
 */
@TableName("t_person")
public interface PersonMapper {

    @Select("select * from t_person")
    List<Person> queryPerson();
    @Select("select * from t_person where id=#{id}")
    Person queryPersonById(String id);


}